/**
 * 
 */
package jvs.vfs;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.net.URI;

/**
 * @author qiangli
 * 
 */
public interface Driver {
	public File createFile(URI uri) throws IOException;
	
	public File createFile(File parent, String name) throws IOException;
	
	public InputStream createInputStream(File file) throws IOException;

	public OutputStream createOutputStream(File file) throws IOException;

	public Reader createReader(File file) throws IOException;

	public Writer createWriter(File file) throws IOException;
}
